﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace PerfilEmpreendedor.FrontEnd
{
    public class PerfilEmpreendedorPage:System.Web.UI.Page
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if (!Context.User.Identity.IsAuthenticated)
            {
                Response.Redirect(FormsAuthentication.LoginUrl);
            }
        }
        protected Int32 IdUserLogado
        {
            get
            {
                return Convert.ToInt32(Context.User.Identity.Name);
            }
        }
    }
}